/*
 * @Author: anxia.ack anchenkai@come-future.com
 * @Date: 2025-04-17 22:30:49
 * @LastEditors: anxia.ack anchenkai@come-future.com
 * @LastEditTime: 2025-04-18 10:40:41
 * @FilePath: /free-learning/src/api/course/course-user/type.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export interface CourseUser {
  id: number;
  userId: number;
  userName: string;
  courseId: number;
  courseName: string;
  consultantId: number;
  consultantName: string;
  categoryId: number;
  categoryName: string;
  progress: number;
  learningDuration: number;
  status: number;
  lastLearnTime: string;
  currentChapter: number;
  createTime: string;
  updateTime: string;
}

export interface ByConsultantIdPageQuery extends PageQuery {
  consultantId: number;
  courseId: number;
  categoryId: number;
  learningDurationSort: "desc" | "asc";
  progressSort: "desc" | "asc";
  status: number;
}
